package org.jackysoft.entity;
import javax.persistence.Entity;

import org.jackysoft.util.WebModuleState;
@Entity
@org.hibernate.annotations.Entity(dynamicUpdate=true,dynamicInsert=true) 
public class WebModule extends AbstractEntity {
   
   
	/**
	 * 
	 */
	private static final long serialVersionUID = -8061878910714555227L;
    private String name;
    private String domain;
    private int port;
    private int securePort;
    private String contextPath;
    private String imagePath;
    private String home;
	private WebModuleState state=WebModuleState.Stable;
	
    
    public WebModule(){
		
	}
    
	public String getName() {
		return name;
	}

	public String getDomain() {
		return domain;
	}

	public int getPort() {
		return port;
	}

	public int getSecurePort() {
		return securePort;
	}

	public String getContextPath() {
		return contextPath;
	}

	public String getHome() {
		return home;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public void setSecurePort(int securePort) {
		this.securePort = securePort;
	}

	public void setContextPath(String contextPath) {
		this.contextPath = contextPath;
	}

	public void setHome(String home) {
		this.home = home;
	}

	public WebModuleState getState() {
		return state;
	}

	public void setState(WebModuleState state) {
		this.state = state;
	}

	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	
	
	


}